The first range ends where the second range starts.
Example: Range A meets range B:
A
B
●--A--○ ●--B--○